package com.gwz.cardserver.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("account")
public class Account {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String account;
    private String nickName;
    private String password;
    /**
     * 豆子数量
     */
    private int been;
    /**
     * 胜场
     */
    private int winCount;
    /**
     * 负场
     */
    private int loseCount;
    /**
     * 逃跑场
     */
    private int runCount;
    /**
     * 等级
     */
    public int lv;
    /**
     * 经验
     */
    public int exp;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private int status;
}
